package com.lxbw.chain;

import org.web3j.codegen.TruffleJsonFunctionWrapperGenerator;



public class ContractCodeGen {
    public static void main(String[] args) {
        String[] myargs = {"--javaTypes", "/home/andy/project/nahan/chain/src/main/resources/contracts/KittyCore.json",
                "-o", "/home/andy/project/nahan/chain/src/main/java/","-p", "com.lxbw.chain.model"};
        try {
            TruffleJsonFunctionWrapperGenerator.main(myargs);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
